[INFO] cloning repository https://github.com/kaifastromai/kin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaifastromai/kin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fkin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fkin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a5fc151361503acdb974caf46016928cd7317960
[INFO] checking kaifastromai/kin against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fkin" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/kaifastromai/kin
[INFO] finished tweaking git repo https://github.com/kaifastromai/kin
[INFO] tweaked toml for git repo https://github.com/kaifastromai/kin written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kaifastromai/kin on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kaifastromai/kin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dot v0.1.4
[INFO] [stderr]   Downloaded uuid v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179
[INFO] running `Command { std: "docker" "start" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.122
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling wasm-bindgen v0.2.122
[INFO] [stderr]     Checking fixedbitset v0.4.1
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking dot v0.1.4
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.122
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking petgraph v0.6.2
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking uuid v1.1.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.122
[INFO] [stderr]     Checking kin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `indexmap::IndexMap`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use indexmap::IndexMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeSet`
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::collections::BTreeSet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::from_fn`
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::iter::from_fn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromFn`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::iter::FromFn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]   --> src/lib.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     collections::{BTreeMap, VecDeque},
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::visit::IntoEdgesDirected`
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use petgraph::visit::IntoEdgesDirected;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]    --> src/kin_dsl.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     use tracing::info;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/kin_dsl.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `indexmap::IndexMap`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use indexmap::IndexMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeSet`
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::collections::BTreeSet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::from_fn`
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::iter::from_fn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromFn`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::iter::FromFn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]   --> src/lib.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     collections::{BTreeMap, VecDeque},
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `::uuid::serde::compact::deserialize`
[INFO] [stdout]  --> src/test_kin.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ::uuid::serde::compact::deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_to` is never used
[INFO] [stdout]   --> src/lib.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn render_to<W: std::io::Write>(output: &mut W, graph: &KinGraph) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_value`, `get_cost`, `is_blood_kind`, and `get_inverse` are never used
[INFO] [stdout]    --> src/lib.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Kind {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 101 |     fn get_value(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn get_cost(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn is_blood_kind(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     fn get_inverse(&self) -> Kind {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/lib.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl Location {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 179 |     fn dot(&self, other: Location) -> i32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `depth_map` is never read
[INFO] [stdout]    --> src/lib.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct KinGraph {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 275 |     depth_map: Option<BTreeMap<Person, Location>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_person`, `add_persons`, `np`, and `np_with_name` are never used
[INFO] [stdout]    --> src/lib.rs:317:8
[INFO] [stdout]     |
[INFO] [stdout] 316 | impl KinGraph {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 317 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |     fn add_person(&mut self, p: &Person) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |     fn add_persons(&mut self, ps: &[&Person]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 339 |     fn np(&mut self, sex: Sex) -> Person {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     fn np_with_name(&mut self, sex: Sex, name: String) -> Person {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_kin` is never used
[INFO] [stdout]   --> src/kin_dsl.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn query_kin(string: &str, kg: &mut KinGraph) -> anyhow::Result<Vec<Box<dyn State>>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_relations_from_dsl` is never used
[INFO] [stdout]    --> src/kin_dsl.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn parse_relations_from_dsl(string: &str, kg: &mut KinGraph) -> Result<(), anyhow::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Transition` is never used
[INFO] [stdout]  --> src/states.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Transition = (Kind, Box<dyn State>);
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_state_name` is never used
[INFO] [stdout]    --> src/states.rs:949:12
[INFO] [stdout]     |
[INFO] [stdout] 928 | impl StateMachine {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 949 |     pub fn print_state_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::visit::IntoEdgesDirected`
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use petgraph::visit::IntoEdgesDirected;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_value`, `get_cost`, `is_blood_kind`, and `get_inverse` are never used
[INFO] [stdout]    --> src/lib.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Kind {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 101 |     fn get_value(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn get_cost(&self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn is_blood_kind(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     fn get_inverse(&self) -> Kind {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/lib.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl Location {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 179 |     fn dot(&self, other: Location) -> i32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `depth_map` is never read
[INFO] [stdout]    --> src/lib.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct KinGraph {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 275 |     depth_map: Option<BTreeMap<Person, Location>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Transition` is never used
[INFO] [stdout]  --> src/states.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Transition = (Kind, Box<dyn State>);
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_state_name` is never used
[INFO] [stdout]    --> src/states.rs:949:12
[INFO] [stdout]     |
[INFO] [stdout] 928 | impl StateMachine {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 949 |     pub fn print_state_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_cousins` is never used
[INFO] [stdout]  --> src/test_kin.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn setup_cousins() -> Result<KinGraph> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.25s
[INFO] running `Command { std: "docker" "inspect" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179", kill_on_drop: false }`
[INFO] [stdout] 0926d3ac4b09a0d17b4df89eddd6a0cee392047ad5b2b9e89f1f3a3f6d242179
